package com.aaron.test;

import org.apache.commons.lang.StringUtils;

import java.util.Date;

/**
 * @author liurong
 * @date 2021/9/17 16:33
 * @version:
 */
public class ReplaceTT {

    public static void setDeptFullName(String deptFullName) {
        if (StringUtils.isNotEmpty(deptFullName)) {
            if (deptFullName.startsWith("/")){
                deptFullName = deptFullName.replaceFirst("/", "");
                deptFullName = deptFullName.replaceAll("/", "-");
            }
        }

        System.out.println(deptFullName);

    }

    public static void main(String[] args) {
        System.out.println(new Date().getTime());
    }
}

